<!DOCTYPE html>
<html class="x-admin-sm">

{include file="common/static" /}
{include file="common/resources" /}
    <body>
        <div class="x-nav">
            <span class="layui-breadcrumb">
                <a href="">首页</a>
                <a href="">演示</a>
                <a>
                    <cite>导航元素</cite></a>
            </span>
            <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
                <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i>
            </a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">

                        <div class="layui-card-body ">

                            <form class="layui-form" action="" method="post">

                                <div class="layui-form-item">
                                    <label class="layui-form-label">应到未到</label>
                                    <div class="layui-input-block">
                                        <input type="radio" name="future" value="1" title="开启" {if $list['future'] == '1' }checked {/if}>
                                        <input type="radio" name="future" value="0" title="关闭" {if $list['future'] == '0' }checked {/if}>
                                    </div>
                                    <div class="layui-form-mid layui-word-aux">如果开启，则不处理应到未到订单将无法进行夜审</div>
                                </div>

                                <div class="layui-form-item">
                                    <label class="layui-form-label">应离未离</label>
                                    <div class="layui-input-block">
                                        <input type="radio" name="leaving" value="1" title="开启" {if $list['leaving'] == '1' }checked {/if}>
                                        <input type="radio" name="leaving" value="0" title="关闭" {if $list['leaving'] == '0' }checked {/if}>
                                    </div>
                                    <div class="layui-form-mid layui-word-aux">如果开启，则不处理应离未离订单将无法进行夜审</div>
                                </div>

<!--                                <div class="layui-form-item">
                                    <label class="layui-form-label">房间置脏</label>
                                    <div class="layui-input-block">
                                        <input type="radio" name="room_status" value="1" title="开启" {if $list['room_status'] == '1' }checked {/if}>
                                        <input type="radio" name="room_status" value="0" title="关闭" {if $list['room_status'] == '0' }checked {/if}>
                                    </div>
                                    <div class="layui-form-mid layui-word-aux">如果开启，夜审时系统把在住过夜房置为脏房</div>
                                </div>-->

<!--                                <div class="layui-form-item">
                                    <label class="layui-form-label">自动交班</label>
                                    <div class="layui-input-block">
                                        <input type="radio" name="automatic" value="1" title="开启" {if $list['automatic'] == '1' }checked {/if}>
                                        <input type="radio" name="automatic" value="0" title="关闭" {if $list['automatic'] == '0' }checked {/if}>
                                    </div>
                                    <div class="layui-form-mid layui-word-aux"> 如果开启，夜审时系统按交班规则自动交班生成交班报表</div>
                                </div>-->

                                <div class="layui-form-item">
                                    <label class="layui-form-label">夜审时间</label>
                                    <div class="layui-input-block">
                                        <div class="layui-input-inline layui-show-xs-block">
                                            <input class="layui-input" placeholder="开始日" name="night_trial_time" id="night_trial_time" value="{$list.night_trial_time}">
                                        </div>
                                    </div>
                                    <div class="layui-form-mid layui-word-aux"> 如果开启，夜审时系统按交班规则自动交班生成交班报表</div>
                                </div>

                                <div class="layui-form-item">
                                    <div class="layui-input-block">
                                        <button class="layui-btn" lay-submit lay-filter="formDemo">保存设置</button>
                                    </div>
                                </div>
                            </form>

                        </div>

                    </div>
                </div>
            </div>
        </div>
    </body>

<script>layui.use(['laydate', 'form'],
        function() {
            var laydate = layui.laydate;

            //执行一个laydate实例
            laydate.render({
                elem: '#night_trial_time' //指定元素
                ,type: 'time'
                // ,format: 'HH点mm分' //可任意组合
                // ,range: true //或 range: '~' 来自定义分割字符
            });
        });

</script>


</html>